#define _CRT_SECURE_NO_WARNINGS 1
int main()
{
    int a = 1;
    int b = 1;
    int c = 0;
    for (a = 1; a <= 5; a++)
    {
        for (b = 1; b <= 9; b++)
        {
            for (c = 0; c <= 9; c++)
            {
                if (((a + b) * 100 + (b + c) * 10 + 2 * c) == 532)
                {
                    printf("%d %d %d\n", a, b, c);
                }
            }
        }
    }
    return 0;
}
